/*export function createRoute (component, template) {
  const result = template ? template : {}
  if (result.path === undefined) {
    result.path = component.path !== undefined ? component.path : component.name
  }
  if (result.name === undefined && component.name !== undefined) {
    result.name = component.name
  }
  if (result.component === undefined) {
    result.component = component
  }
  return result
}*/
